<div class="header">
    <md-card class="m0 pl0">
        <div>
            <div class="pull-left" style="width: 210px">
                <a ui-sref="dashboard"><img src="assets/images/logo2.png?123" class="mr logo"/></a>
            </div>

            <div class="pull-right top-menu">

                <md-button class="md-warn" aria-label="menu"  ng-click="help()" ng-if="!isChrome">
                    <i class="mdi md-warn mdi-24px mdi-block-helper"></i>
                    Requirements Chrome!
                    <i class="mdi md-warn mdi-24px mdi-block-helper"></i>
                </md-button>



                <md-button aria-label="menu"  ui-sref="dash" ng-if="isTabixServer">
                    <i class="mdi mdi-18px mdi-bank" ></i>
                    Dashboard
                </md-button>

                <md-button aria-label="menu"  ui-sref="sql">
                    <i class="mdi mdi-18px mdi-console" ></i>
                    SQL
                </md-button>

                <md-button aria-label="menu"  ui-sref="metrics">
                    <i class="mdi mdi-18px mdi-playlist-play"></i>
                    Metrics & Processes
                </md-button>


                <md-button aria-label="menu" ui-sref="preference">
                    <i class="mdi mdi-18px mdi-settings"></i>
                    Settings
                </md-button>

                <md-button aria-label="menu"  ng-click="help()">
                    <i class="mdi mdi-18px mdi-help"></i>
                    Help
                </md-button>


                <!--<md-menu md-position-mode="target-right target">-->
                    <!--<md-button aria-label="menu" ng-click="$mdOpenMenu($event)">-->
                        <!--<i class="mdi mdi-18px mdi-theme-light-dark"  style="vertical-align:top"></i>-->
                        <!--Theme-->
                    <!--</md-button>-->
                    <!--<md-menu-content>-->
                        <!--<md-menu-item ng-repeat="theme in themes">-->
                            <!--<md-button ng-click="setUiTheme(theme)">{{theme.title}}</md-button>-->
                        <!--</md-menu-item>-->
                    <!--</md-menu-content>-->
                <!--</md-menu>-->


                <md-button ng-if="::vars.hideExitButton" aria-label="Sign out" ng-click="logout()">

                    <i class="mdi mdi-18px mdi-lock"></i>
                    Sign out     [{{user}}]
                </md-button>

            </div>
        </div>
    </md-card>
</div>
